package com.rd.student.ruanjian.class1.duhang.exam;

public class Student {
    String name;
    int chinesescore;
    int mathscore;
    int score;

    public Student(){}

    public Student(String name, int chinesescore, int mathscore, int score) {
        this.name = name;
        this.chinesescore = chinesescore;
        this.mathscore = mathscore;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getChinesescore() {
        return chinesescore;
    }

    public void setChinesescore(int chinesescore) {
        this.chinesescore = chinesescore;
    }

    public int getMathscore() {
        return mathscore;
    }

    public void setMathscore(int mathscore) {
        this.mathscore = mathscore;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", chinesescore=" + chinesescore +
                ", mathscore=" + mathscore +
                ", score=" + score +
                '}';
    }
}
